project(GNN)
cmake_minimum_required(VERSION 2.8)

set(sources src/main.cpp src/AuctionAlgorithm.h src/helper.h src/KalmanFilter.h src/Tracker.h)
#aux_source_directory(. SRC_LIST)

include_directories(
  include
)

#4.source directory，源文件目录
AUX_SOURCE_DIRECTORY(src DIR_SRCS)

#5.set environment variable，设置环境变量，编译用到的源文件全部都要放到这里，否则编译能够通过，但是执行的时候会出现各种问题，比如"symbol lookup error xxxxx , undefined symbol"
SET(TEST_MAIN
${DIR_SRCS})

add_executable(${PROJECT_NAME} ${TEST_MAIN})

find_package(
 OpenCV
)
target_link_libraries( GNN ${OpenCV_LIBS} )

if(CMAKE_COMPILER_IS_GNUCXX)
    add_definitions(-std=c++11)
endif()
